package com.yanming.demo.core.response;

import lombok.Data;

import java.util.List;

@Data
public class RestResultPageDatatables<T> {
    // 存放的数据
    private List<T> data; // data 与datatales 加载的“dataSrc"对应
    //总页数
    private int recordsTotal;

    private int recordsFiltered;
    //当前页面
    private int draw;
    // 响应状态 默认false
    private Boolean success = false;
    // 响应消息
    private String error;
}
